﻿/* KMW-Ingenieurbüro Webseite Stylesheet */

html, body { margin: 0; padding: 0; border: 0;
	background: transparent; font-size: 62.5%; 
}

div, span, article, aside, footer, hgroup, nav, section,
h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li, table,
tr, th, tbody, tfoot, thead {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
	}
	
img	{ margin:0; padding: 0; border:0; }

/*table, tr, th, td, tbody, tfoot, thead {
	margin:0; padding: 0; border:0;
	vertical-align: align: baseline;
	background: transparent;
	}*/
	
article, aside, dialog, figure, footer, header, hgroup, nav, section {
	display: block;}
	
h1, h2, h3, h4, h5, h6, p, li, blockquote, td, th, a, caption, em, strong, strike {
	font-weight: normal;
	font-style: normal;
	line-height: 100%;
	text-indent: 0;
	text-decoration: none;
	text-align: left;
	color: #000000;
	}
	
body {
	font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	text-align: center;
}
	
ol, ul { list-style: none;}

@media screen and (max-width:600px){
body, html {
font-size: 40%
}
}			
@media screen and (min-width:600px){
body, html {
font-size: 45%
}
}			
@media screen and (min-width:800px){body,
html {
font-size: 48%
}
}	
@media screen and (min-width:1000px){body,
html {
font-size: 50%
}
}			
@media screen and (min-width:1100px){body,
html {
font-size: 55%
}
}			
@media screen and (min-width:1200px){body,
html {
font-size: 62.5%
}
}	
		
#wrapper		{ 
	text-align: center;
	width:98%; 
	margin:0px auto; 
	background-color:#eeeeee;
}

#top 		{ 
	position:fixed; 
	z-index: 2;
	background-color:#ffffff;
	width: 98%; 
	padding:20px 0; 
	margin-bottom: 10px;
	overflow:hidden;
	border-bottom:1px #eeeeee solid;
}

#logo 		{
	margin:0 0 10px 10px; 
	float:left;
}

#social-media 			{ 
	float:right; 
	margin:0 10px 0 0

}
#social-media p 		{ 
	line-height:160%; 
	color:#000000; 
	font-size: 11px; 
	margin: 4px 10px 4px 0px;}
#social-media img 		{ 
	width: 24px; 
	height: 24px;}
#social-media ul li p 	{ 
	display: inline;}
header {
	background:#555555;
	width: 98%;
	position: fixed;
	top: 18rem;
	text-align: center;
	transition: 200ms all;
	height: 5rem;
	z-index: 3
}
header nav#normal{
	color: #555555;
	display: inline-block;
}
@media screen and (max-width:820px){
	header nav#normal{
		display:none
	}
}
header nav#normal ul {
	margin: 0;
	padding: 0;
	transition: all 300ms;
	display: inline-block;
}
header nav#normal ul li{
	margin: 0;
	padding: 0;
	float: left;	
	list-style: none;
	position: relative;
	transition: all 300ms;
}
header nav#normal ul li a {
	display: inline-block;
	padding: 1.5rem;
	float: left;
	min-width: 16rem;
	text-align: center;
	font-size: 18px;
	font-size: 1.8rem;
	color: #ffffff;
	margin: 0 1px 0 0;
	background:#555555;
	font-weight: 300;
	transition: all 300ms;
	font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header nav#normal ul li:hover > a {
	background: #8c1e31;
}
header nav#normal ul li ul{
	overflow:hidden;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	transition: 300ms all;
	max-height: 0;
}
header nav#normal ul li ul li{
	border-bottom: 1px solid#8c1e31
}
header nav#normal ul li:hover > ul{
	max-height: 700px;
}

header nav#mobile {
	color:#555555;
	display: none;
}
@media screen and (max-width:820px){
	#banner{
		display:none
	}
}

@media screen and (max-width: 800px){
	header nav#mobile { display: block}
}

header nav #menu {
	padding:2.17rem 5% 2.17rem 5%;
	float:left;
	width: 90%;
	text-align: center;
	font-size: 2rem;
	color: #ffffff;
	cursor: pointer;
	font-weight: 300;
	transition: all 500ms;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header nav#mobile ul{
	width: 100%;
	margin: 0;
	padding: 0;
	max-height: 0;
	transition: all 500ms;
	overflow: hidden;
	float: left;
}
header nav#mobile:hover > ul{
	max-height: 800px;
}
header nav#mobile ul li{
	margin:0;
	padding: 0;
	float: left;
	width: 100%;
	list-style: none;
	position: relative;
	
	transition: all 500ms;
}
header nav#mobile ul li a {
	display: inline-block;
	padding: 2.17rem 5% 2.17rem 5%;
	float: left;
	min-width: 15rem;
	width: 90%;
	text-align: center;
	font-size: 2rem;
	color: #ffffff;
	margin: 0 1px 0 0;
	text-decoration: none;
	background:#555555;
	font-weight: 300;
	transition: all 500ms;
	font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header nav#mobile ul li:hover > a {
	background: #772e3a;
}
header nav#mobile ul li ul {width: 100%;
transition: all 500ms;
max-height: 0;
overflow: hidden;
float: left;
}
header nav#mobile ul li ul li {
	display: block;
	float: left;
	background: #8c1e31;
	transition: all 500ms;
}
header nav#mobile ul li ul li a {
	background: #682631;
}
header nav#mobile ul li:hover > ul {
	max-height: 500px;
}
header nav#mobile ul li ul li:hover > a {
	background: #3a1b1b;
}

#banner {
	width:98%; 
  height: 700px;
}
#banner img {
	position: relative; 
	top:200px; 
	opacity: 60%;
	background-position: center;
	background-size: cover;
	justify-content: center;
	z-index: 1;	
	overflow: hidden;
}
#subbanner				{
	width:100%; 
	background-color:#555555; 
	padding:15px 0; 
	overflow:hidden;
	
}
#subbanner h3			{
	color:#ffffff; 
	font-size:16px; 
	font-weight:bold; 
	text-align:center; 
	line-height:180%;
}
#content 				{ 
	float:left; 
	width:98%; 
	padding:20px; 
	text-align: center;

}
#content h1				{ 
	margin:0 0 20px 0; 
	font-size:32px; 
	font-weight:bold; 
	text-align: center;
	border-bottom:1px #777777 solid; 
	padding:20px;
}
#content p				{
	font-size:13px; 
	margin :50px; 
	line-height:160%; 

}
#content h2				{
	padding:10px;
	margin:20px 0 0 0; 
	font-size:22px; 
	font-weight:bold; 
}
#content h3				{
	margin:50px;
	font-size:13px;
	font-weight:bold;
}
#content img			{
	padding:20px; 
	border:1px #888888 solid; 
	margin:50px; 
}
#content ol				{
	display:flex;
	font-size:13px; 
	margin:10px;
	line-height:150%;
	text-align:center
}
#content ol	li			{
	display:block;
	font-size:13px; 
	margin:10px;
	line-height:150%;
	text-align:justify;

}
#content p1				{
	font-size: 13px; 
	margin:20px;
}
#content table			{
	margin:50px;
	padding:15px
}
#content table th		{
	font-size:14px; 
	font-weight:bold;
	margin:0 10px 30px 10px; 
	padding:0 10px 10px 10px;
	text-align:right;
}
#content table td		{
	font-size:14px; 
	margin:10px; 
	padding:10px;
	text-align:right;
}
#content p a{
	text-decoration: underline;
	font-weight: bold;
}
#formular {
	margin: 10px;
	padding: 10px;
	font-size: 14px;
}
.formbox {
	padding:10px 0;
	text-align: left;
}
.formbox > label{
	display: block;
}
.formbox > input {
	width: 60%;
	padding: 12px;
	font-size: 1.5rem;
	border-radius: 5px;
	border: 1px solid#3b3636;
}
.formbox > textarea {
	width: 60%;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	text-align: left;
	border-radius: 5px;	
	border: 1px solid#3b3636;
	padding: 12px;
}
.formbox > button {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-size: 1.5rem;
	padding:8px 16px;
	cursor: pointer;
}

#footer 				{ 
	clear:both; 
	background-color:#999999; 
	border-top:1px #000000 solid;
}
#footer ul				{ 
	width:98%; 
	float:left; 
	margin:10px; 
	background-color:#999999;  
}

#footer ul li 			{ 
	display:inline; 
}
#footer ul li a			{ 
	font-size:12px; 
	float:left; 
	padding:10px 60px; 
}
#footer p				{ 
	float:right; 
	margin: 10px; 
	padding:10px; 
	font-size:12px; 
	font-weight: bold;
}

